package com.ruoyi.project.yingyu.transferorder.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 转帐订单对象 transfer_order
 * 
 * @author shixiangwen
 * @date 2020-02-17
 */
public class TransferOrder extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** id */
	private Long id;

	/** 转帐订单号 */
	@Excel(name = "转帐订单号")
	private String orderNo;

	/** 随机串 */
	@Excel(name = "随机串")
	private String nonceStr;

	/** openid */
	@Excel(name = "openid")
	private String openid;

	/** ip */
	@Excel(name = "ip")
	private String ip;

	/** 转帐金额(分) */
	@Excel(name = "转帐金额(分)")
	private Long fee;

	/** 微信付款单号 */
	@Excel(name = "微信付款单号")
	private String paymentNo;

	/** 微信付款时间 */
	@Excel(name = "微信付款时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date paymentTime;

	/** 微信result_code */
	@Excel(name = "微信result_code")
	private String resultCode;

	/** 微信错误码 */
	@Excel(name = "微信错误码")
	private String errCode;

	/** 微信错误描述 */
	@Excel(name = "微信错误描述")
	private String errCodeDesc;

	private String nickname;

	private Long kkid;

	private String yuan;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOpenid() {
		return openid;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getIp() {
		return ip;
	}

	public void setFee(Long fee) {
		this.fee = fee;
	}

	public Long getFee() {
		return fee;
	}

	public void setPaymentNo(String paymentNo) {
		this.paymentNo = paymentNo;
	}

	public String getPaymentNo() {
		return paymentNo;
	}

	public void setPaymentTime(Date paymentTime) {
		this.paymentTime = paymentTime;
	}

	public Date getPaymentTime() {
		return paymentTime;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCodeDesc(String errCodeDesc) {
		this.errCodeDesc = errCodeDesc;
	}

	public String getErrCodeDesc() {
		return errCodeDesc;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Long getKkid() {
		return kkid;
	}

	public void setKkid(Long kkid) {
		this.kkid = kkid;
	}

	public String getYuan() {
		return yuan;
	}

	public void setYuan(String yuan) {
		this.yuan = yuan;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("orderNo", getOrderNo()).append("nonceStr", getNonceStr()).append("openid", getOpenid())
				.append("ip", getIp()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("fee", getFee()).append("paymentNo", getPaymentNo())
				.append("paymentTime", getPaymentTime()).append("resultCode", getResultCode()).append("errCode", getErrCode()).append("errCodeDesc", getErrCodeDesc()).toString();
	}
}
